package control.module.vo.authmanage;

import com.fasterxml.jackson.annotation.JsonFormat;
import control.module.po.authmanage.RoleAuth;
import lombok.Data;

import java.util.Date;

/**
 * Role auth vo
 *
 * @description:
 * @author: cyj
 * @date 2020 -10-24 18:33:24
 */
public class RoleAuthVO extends RoleAuth {
    /**
     * Auth
     */
    private String auth;
    /**
     * Create date
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date createDate;

    /**
     * Gets auth * @description:
     *
     * @return the auth
     */
    public String getAuth() {
        return auth;
    }

    /**
     * Sets auth * @description:
     *
     * @param auth auth
     */
    public void setAuth(String auth) {
        this.auth = auth;
    }

    @Override
    public String toString() {
        return "RoleAuthVO{" +
                "auth='" + auth + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
